package com.bjbn.model.dto;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.List;

/**
 * 基础响应DTO
 */
@Data
public class BaseResponseDto<T> {
    @Schema(description = "总页数", example = "1")
    private String pageTotal;
    
    @Schema(description = "总记录数", example = "1")
    private String countTotal;
    
    @Schema(description = "返回数据", example = "[{\"carrystate\":\"0\",\"plateno\":\"粤AB17261\"}]")
    private List<T> retData;
    
    @Schema(description = "当前页数", example = "1")
    private String page;
    
    @Schema(description = "状态码", example = "0")
    private String retCode;
    
    @Schema(description = "状态描述", example = "OK")
    private String retMsg;
}